#ifndef PLAYER_H
#define PLAYER_H

#include "../command/Command.h"

#include <string>

class Client;
class OgreAnimatedShape;

class Player
{

public:

Player(Client* client, OgreAnimatedShape* shape, std::string name);
~Player();

//movement
void processTick();
void interpolateTick(float renderTime);
void CalculateVelocity(Command *command, float frametime);
Command*    frame[64];
Command*	mServerFrame;					// the latest frame from server
Command*	mCommand;						// current frame's commands

int			mIndex;

std::string mName;
Client* mClient;
OgreAnimatedShape* mShape;

};

#endif

